home *** CD-ROM | disk | FTP | other *** search
/ Suzy B Software 2 / Suzy B Software CD-ROM 2 (1994).iso / new_file / modems / lynx231b / lynx231b.lzh / usr / local / lib / lynx.cfg
Encoding:
Text File  |  1994-12-11  |  16.1 KB  |  390 lines

  1. # lynx.cfg file.
  2. # The default placement for this file is /usr/local/lib/lynx.cfg (UNIX)
  3. #                                     or Lynx_Dir:lynx.cfg (VMS)
  4. #
  5. # Definition pairs are of the form  VARIABLE:DEFINITION
  6. # NO spaces are allowed between the pair items.
  7. #
  8. #  If you do not have access to /usr/local/bin you may change
  9. #  the default location of this file in the userdefs.h file and recompile,
  10. #  or specify it's location on the command line with the "-cfg"
  11. #  command line option.
  12. #
  13. # Items may be commented out by putting a '#' as the FIRST char of the line
  14. #
  15. # All definitions must be flush left and have NO spaces.!!!
  16. #
  17. #
  18. # STARTFILE is the default URL if none is specified on the command line 
  19. # note: these files can be remote (http://info.cern.ch/default.html) 
  20. # or local (file://localhost/DIRECTORY/FILENAME
  21. #  replace DIRECTORY with the current directory path and
  22. #  FILENAME with the name of the file.
  23. #  file://localhost/dua#/DIRECTORY/FILENAME on VMS systems.)
  24. #
  25. STARTFILE:http://www.cc.ukans.edu/about_lynx/www_start.html
  26.  
  27. # HELPFILE must be defined as a URL and must have a 
  28. # complete local path name if local 
  29. # (file://localhost/DIRECTORY/FILENAME
  30. #  replace DIRECTORY with the current directory path and
  31. #  FILENAME with the name of the file.
  32. #  file://localhost/dua#/DIRECTORY/FILENAME on VMS systems.)
  33. # the default HELPFILE is:
  34. # http://kufacts.cc.ukans.edu/lynx_help/lynx_help_main.html
  35. # This file will be updated as needed.
  36. #
  37. HELPFILE:http://kufacts.cc.ukans.edu/lynx_help/lynx_help_main.html
  38.  
  39. # DEFAULT_INDEX_FILE is the default file retrieved when the
  40. # user presses the 'I' key when viewing any document.
  41. # An index to your CWIS can be placed here or a document containing
  42. # pointers to lots of interesting places on the web.
  43. #
  44. #DEFAULT_INDEX_FILE:http://info.cern.ch/default.html
  45. DEFAULT_INDEX_FILE:http://www.ncsa.uiuc.edu/SDG/Software/Mosaic/MetaIndex.html
  46.  
  47. # The CHARACTER_SET defines the users default 8 bit character set
  48. # which is used to represent the list of character entities within
  49. # HTML. New character sets may be defined by modifying the file
  50. # src/LYCharSets in the Lynx source code distribution and
  51. # recompiling.
  52. # The default character sets include:
  53. #    ISO Latin 1
  54. #    DEC Multinational
  55. #    IBM PC character set
  56. #    NeXT character set
  57. #    7 bit approximations
  58. CHARACTER_SET:ISO Latin 1
  59.  
  60. # Local execution links and scripts are completely disabled
  61. # in the source code unless they are enabled in the
  62. # userdefs.h file and the sources recompiled.  Please
  63. # see the Lynx source code distribution and the userdefs.h
  64. # file for more detail on enabling execution links and scripts.
  65. #
  66. # If you have enabled execution links or scripts the following
  67. # two variables control Lynx's action when an execution link
  68. # or script is encountered.
  69. #
  70. # If LOCAL_EXECUTION_LINKS_ALWAYS_ON is set to TRUE any execution
  71. # link or script will be executed no matter where it came from.
  72. # This is EXTREMELY dangerous.  Since Lynx can access files from
  73. # anywhere in the world, you may encounter links or scripts that
  74. # will cause damage or comprimise the security of your system.
  75. #
  76. # If LOCAL_EXECUTION_LINKS_ON_BUT_NOT_REMOTE is set to TRUE only
  77. # links or scripts that reside on the local machine and are
  78. # referenced with a URL beginning with "file://localhost" will
  79. # be executed.  This is much less dangerous than enabling all
  80. # execution links, but can still be dangerous.
  81. #
  82. LOCAL_EXECUTION_LINKS_ALWAYS_ON:FALSE
  83. LOCAL_EXECUTION_LINKS_ON_BUT_NOT_REMOTE:FALSE
  84.  
  85. #  MAIL_SYSTEM_ERROR_LOGGING will send a message to the owner of 
  86. #  the information, or ALERTMAIL if there is no owner, every time
  87. #  that a document cannot be accessed!
  88. #
  89. #  VMS USERS !!!
  90. # You will probably want to set 'MAIL_SYSTEM_ERROR_LOGGING' to FALSE.
  91. # It can be nice to have automatic error logging but this is done
  92. # by doing a system command and running mail.  This is VERY slow under
  93. # VMS and just takes too darn long.
  94. #
  95. MAIL_SYSTEM_ERROR_LOGGING:FALSE
  96.  
  97. # VI_KEYS can be turned on by the user in the options
  98. # screen or the .lynxrc file.  This is just the default.
  99. #
  100. VI_KEYS_ALWAYS_ON:FALSE
  101.  
  102. # EMACS_KEYS can be turned on by the user in the options
  103. # screen or the .lynxrc file.  This is just the default.
  104. #
  105. EMACS_KEYS_ALWAYS_ON:FALSE
  106.  
  107. # DEFAULT_KEYPAD_MODE specifies whether by default the user
  108. # has numbers that work like arrows or else numbered links
  109. # DEFAULT KEYPAD MODE may be set to TRUE for
  110. # using numbers as arrows as default or FALSE for
  111. # using numbered links as the default
  112. DEFAULT_KEYPAD_MODE_IS_NUMBERS_AS_ARROWS:TRUE
  113.  
  114. # The default search type.
  115. # This is a default that can be overridden by the user!
  116. #
  117. CASE_SENSITIVE_ALWAYS_ON:FALSE
  118.  
  119. # DEFAULT_BOOKMARK_FILE is a default filename for use as a
  120. # personal bookmark file.  It should start without a slash
  121. # and will reference a file from the users home directory.
  122. # NOTE: A file ending in .html should be used eliminate potential problems
  123. #
  124. DEFAULT_BOOKMARK_FILE:lynx_bookmarks.html
  125.  
  126. # DEFAULT_USER_MODE sets the default user mode for Lynx users.
  127. # NOVICE  shows a three line help message at the bottom of the screen
  128. # INTERMEDIATE  shows normal amount of help (one line)
  129. # ADVANCED  help is replaced by the URL of the current link
  130. #
  131. DEFAULT_USER_MODE:NOVICE
  132.  
  133. # DEFAULT_EDITOR sets the default editor for Lynx users.
  134. # If an editor is defined then the user may edit local documents
  135. # using that editor.  The editor will also be used for sending
  136. # mail messages.  If no editor is defined here or by the user
  137. # the user will not be able to edit local documents and a primative
  138. # line oriented mail input mode will be used.  
  139. # NOTE: Do not define an editor unless you know that every user will
  140. #       know how to use it.  Most users do not enjoy getting stuck in
  141. #       an unknown editor that they can't get out of.  Users can
  142. #       easily define an editor of their own using the options menu,
  143. #       so it is not always desirable to set the DEFAULT_EDITOR.
  144. #
  145. #DEFAULT_EDITOR:
  146.  
  147. # Printer definitions
  148. # any number of printers may be defined by using multiple 
  149. # printer definition sets.  Printers may be any program
  150. # that could be useful to your users, they do not necessarily
  151. # have to print.
  152. #
  153. # the definition of a printer is of the form
  154. # PRINTER:<printer name>:<printer command>:<printer option>
  155. #
  156. #    <printer name> is the name that the user will see
  157. # <printer command> is the command line arguments for printing a file
  158. #            the %s will be replaced with the file being printed.
  159. #                   If a second %s is given the second %s will be replaced by a
  160. #                   suggested filename that is prettier than the tempfile
  161. #                   name given in the first %s.  This does not remove the first
  162. #                   %s from the command line in any manner.  If you need to
  163. #                   use only the second %s file name in your printer command,
  164. #                   then I suggest creating a script which will first copy the
  165. #                   first %s file name to the second %s file name, and then
  166. #                   executing your print command with the second %s file name.
  167. #  <printer option> specifies whether the printer should be disabled for
  168. #            users without printing options.  The options are
  169. #            TRUE or FALSE;
  170. #            TRUE means the printer will always be ENABLED
  171. #             regardless of printer or anonymous settings
  172. #            FALSE means the printer will be DISABLED when
  173. #              the -noprint option is on, or for anonymous
  174. #              users which are not allowed to print
  175. #
  176. #  You must put the whole definition on one line.  
  177. #
  178. #  If you must use a colon, precede it with a backslash!
  179. #
  180. #    examples
  181. #PRINTER:Computer Center printer:lpr -Pccprt %s:FALSE
  182. #PRINTER:Office printer:lpr -POffprt %s:TRUE
  183. #PRINTER:VMS printer:print /queue=cc$print %s:FALSE
  184.  
  185. # check out the lpansi program in utils/ for printing on vt100
  186. # attached printers.
  187. #PRINTER:Use vt100 print sequence to print from your local terminal:lpansi %s:TRUE
  188. # don't use the following printer on anonymous accounts since
  189. # allowing shell input is very dangerous
  190. #PRINTER:Specify your own print command:echo -n "Enter a print command\: "; read word; sh -c "$word %s":FALSE
  191.  
  192.  
  193. # Downloader definitions
  194. # any number of downloaders may be defined by using multiple
  195. # downloader definition sets.  Downloaders may be any program
  196. # that could be useful to your users, they do not necessarily
  197. # have to be a download protocol program. The most common use
  198. # of a downloader is to use Ckermit or some other transfer
  199. # program so that the user may easily transfer files back to
  200. # their local machine over a serial link.
  201. #
  202. # the definition of a downloader is of the form
  203. # DOWNLOADER:<downloadername>:<downloader command>:<downloader option>
  204. #
  205. #    <downloader name> is the name that the user will see
  206. # <downloader command> is the command line arguments for printing a file
  207. #                      the %s will be replaced with the file being printed
  208. #                      If a second %s is given the second %s will be replaced
  209. #                      by a suggested filename that is nicer than the tempfile
  210. #                      name given in the first %s.  This does not replace the
  211. #                      first %s in the command line.  If your command needs
  212. #                      the suggest file name on the command line only, then
  213. #                      I suggest creating a script that will first copy the
  214. #                      first %s file name to the second %s file name, and then
  215. #                      execute the downloading command using the second %s file
  216. #                      name.
  217. #  <downloader option> specifies whether the downloader should be disabled for
  218. #                      anonymous users.  The options are
  219. #                      TRUE or FALSE;
  220. #                      TRUE means the downloader will always be ENABLED
  221. #                           regardless of the anonymous settings
  222. #                      FALSE means the downloader will be DISABLED when
  223. #                            the user is anonymous.
  224. #
  225. #  You must put the whole definition on one line.
  226. #
  227. #  If you must use a colon, precede it with a backslash!
  228. #
  229. #    examples
  230. #DOWNLOADER:Use Kermit to download to the local terminal:kermit -i -s %s:TRUE
  231. #DOWNLOADER:Use Zmodem to download to the local terminal:sz %s:TRUE
  232.  
  233. #UPLOADER: Use Kermit to upload from your computer: kermit -i -r -a %s:TRUE
  234.  
  235. # MIME types and viewers!
  236. #
  237. # file extensions may be assigned to MIME types using
  238. # the SUFFIX: definition.  
  239. #
  240. # The SUFFIX definition takes the form of:
  241. #    SUFFIX:<file extension>:<mime type>
  242. # for instance the following definition maps the
  243. # extension ".gif" to the mime type "image/gif"
  244. #    SUFFIX:.gif:image/gif
  245. #
  246. # file suffixes are case INsensitive!
  247. #
  248. # The suffix definitions listed here in the default lynx.cfg file
  249. # are pre-defined within the Lynx code, but may be redefined below.
  250.  
  251. #SUFFIX:.ps:application/postscript
  252. #SUFFIX:.eps:application/postscript
  253. #SUFFIX:.ai:application/postscript
  254. #SUFFIX:.rtf:application/x-rtf
  255. #SUFFIX:.snd:audio/basic
  256. #SUFFIX:.gif:image/gif
  257. #SUFFIX:.rgb:image/x-rgb
  258. #SUFFIX:.pict:image/x-pict
  259. #SUFFIX:.xbm:image/x-xbm
  260. #SUFFIX:.tiff:image/x-tiff
  261. #SUFFIX:.jpg:image/jpeg
  262. #SUFFIX:.jpeg:image/jpeg
  263. #SUFFIX:.mpg:video/mpeg
  264. #SUFFIX:.mpeg:video/mpeg
  265. #SUFFIX:.mov:video/quicktime
  266. #SUFFIX:.hqx:application/octet-stream
  267. #SUFFIX:.bin:application/octet-stream
  268. #SUFFIX:.exe:application/octet-stream
  269. #SUFFIX:.tar:application/octet-stream
  270. #SUFFIX:.Z:application/octet-stream
  271. #SUFFIX:.gz:application/octet-stream
  272. #SUFFIX:.zip:application/octet-stream
  273. #SUFFIX:.lzh:application/octet-stream
  274. #SUFFIX:.lha:application/octet-stream
  275. #SUFFIX:.dms:application/octet-stream
  276.  
  277. # MIME types may be assigned to external viewers using
  278. # the VIEWER definition.
  279. #
  280. # Note: if you do not define a viewer to a new MIME type
  281. #       that you assigned above then it will be saved to
  282. #       disk by default.
  283. #
  284. # The VIEWER definition takes the form of:
  285. #    VIEWER:<mime type>:<viewing command>[:environment]
  286. #      where -mime type is the MIME content type of the file
  287. #         -viewing command is a system command that can be
  288. #             used to display the file where "%s" is replaced
  289. #             within the command with the physical filename
  290. #             (i.e. "xv %s" becomes "xv /tmp/tempgiffile")
  291. #            -environment is optional.  The only valid keywords
  292. #             are currently XWINDOWS and NON_XWINDOWS.  If the XWINDOWS 
  293. #             environment is specified then the viewer will only be defined
  294. #             when the user has the environment variable DISPLAY
  295. #             defined.  If the NON_XWINDOWS environment is specified
  296. #             the specified viewer will only be defined when the user
  297. #             DOES NOT have the environment variable DISPLAY defined.
  298. #  examples:
  299. #        VIEWER:image/gif:xv %s:XWINDOWS
  300. #               VIEWER:image/gif:ascii-view %s:NON_XWINDOWS
  301. #               VIEWER:application/start-elm:elm
  302.  
  303. VIEWER:application/postscript:ghostview %s&:XWINDOWS
  304. VIEWER:image/gif:xv %s&:XWINDOWS
  305. VIEWER:image/x-xbm:xv %s&:XWINDOWS
  306. VIEWER:image/x-rgb:xv %s&:XWINDOWS
  307. VIEWER:image/x-tiff:xv %s&:XWINDOWS
  308. VIEWER:image/jpeg:xv %s&:XWINDOWS
  309. VIEWER:video/mpeg:mpeg_play %s &:XWINDOWS
  310.  
  311.  
  312. # Key remapping definitions!
  313. #
  314. # You may redefine the keymapping of any function in Lynx by
  315. # using the KEYMAP variable.  The form of KEYMAP is:
  316. #  KEYMAP:<KEYSTROKE>:<LYNX FUNCTION>
  317. #
  318. # You must map upper and lowercase key's separately.
  319. #
  320. # A complete list of functions mapped to there default keys are
  321. # provided below.  All of the mappings are commented out by default
  322. # since they just map to the default mappings anyways.
  323. #
  324. # Special keys map to:
  325. #         Up Arrow: 0x80
  326. #       Down Arrow: 0x81
  327. #      Right Arrow: 0x82
  328. #       Left Arrow: 0x83
  329. #        Page Down: 0x84
  330. #          Page Up: 0x85
  331. #      Keypad Home: 0x86
  332. #       Keypad End: 0x87
  333. #   Function key 1: 0x88
  334. # vt100   Help Key: 0x88
  335. # vt100     Do Key: 0x89
  336. # vt100   Find Key: 0x8A
  337. # vt100 Select Key: 0x8B
  338. # vt100 Insert Key: 0x8C
  339. # vt100 Remove Key: 0x8D
  340. #         NULL KEY: 0x00
  341. #
  342.  
  343. #KEYMAP:0x2F:SOURCE    # Toggle source viewing mode (show HTML source
  344. #KEYMAP:^R:RELOAD    # Reload the current document and redisplay
  345. #KEYMAP:q:QUIT        # Ask the user to quit
  346. #KEYMAP:Q:ABORT        # Quit without verification
  347. #KEYMAP:0x20:NEXT_PAGE    # Move down to previous page
  348. #KEYMAP:-:PREV_PAGE    # Move up to previous page
  349. #KEYMAP:^P:UP_TWO    # Move display up two lines
  350. #KEYMAP:0x8C:UP_TWO     # Function key - Move display up two lines
  351. #KEYMAP:^N:DOWN_TWO    # Move display down two lines
  352. #KEYMAP:0x8D:DOWN_TWO   # Function key - Move display down two lines
  353. #KEYMAP:^W:REFRESH    # Refresh the screen
  354. #KEYMAP:0x86:HOME       # Keypad HOME (Go to top of current document
  355. #KEYMAP:0x8A:HOME       # Function key - HOME (Go to top of current document
  356. #KEYMAP:0x87:END    # Keypad END (Go to bottom of current document
  357. #KEYMAP:0x8B:END        # Function key - END (Go to bottom of current document
  358. #KEYMAP:0x80:PREV_LINK  # Move to the previous link
  359. #KEYMAP:0x81:NEXT_LINK  # Move to the next link
  360. #KEYMAP:0x00:UP_LINK    # Move to the link above
  361. #KEYMAP:0x00:DOWN_LINK    # Move to the link below
  362. #KEYMAP:0x00:RIGHT_LINK    # Move to the link to the right
  363. #KEYMAP:0x00:LEFT_LINK    # Move to the link to the left
  364. #KEYMAP:0x7f:HISTORY    # Show the history list
  365. #KEYMAP:0x08:HISTORY    # Show the history list
  366. #KEYMAP:0x83:PREV_DOC    # Return to the previous document
  367. #KEYMAP:0x82:ACTIVATE    # Select the current link
  368. #KEYMAP:0x89:ACTIVATE   # Function key - Select the current link
  369. #KEYMAP:g:GOTO        # Goto a random URL
  370. #KEYMAP:H:HELP        # Show default help screen
  371. #KEYMAP:0x88:HELP       # Function key - Show default help screen
  372. #KEYMAP:i:INDEX        # Show default index
  373. #KEYMAP:x:FORM_UP    # Increment form link
  374. #KEYMAP:z:FORM_DOWN    # Decrement form link
  375. #KEYMAP:m:MAIN_MENU    # Return to the main menu
  376. #KEYMAP:o:OPTIONS    # Show the options menu
  377. #KEYMAP:i:INDEX_SEARCH    # Search a server based index
  378. #KEYMAP:/:WHEREIS    # Find a string within the current document
  379. #KEYMAP:n:NEXT        # Find next occurance of string within document
  380. #KEYMAP:c:COMMENT    # Comment to the author of the current document
  381. #KEYMAP:e:EDIT        # Edit current document
  382. #KEYMAP:=:INFO        # Show info about current document
  383. #KEYMAP:p:PRINT        # Show print options
  384. #KEYMAP:a:ADD_BOOKMARK    # Add current document to bookmark list
  385. #KEYMAP:v:VIEW_BOOKMARK    # View the bookmark list
  386. #KEYMAP:!:SHELL        # Spawn default shell
  387. #KEYMAP:d:DOWNLOAD    # Download current link
  388. #KEYMAP:0x00:DO_NOTHING    # Does nothing (ignore this key)
  389.